<!DOCTYPE html>
<html>
<head>
<title>Games</title>
  <%= stylesheet_link_tag    "application", :media => "all" %>
  <%= stylesheet_link_tag    "layoutgrid", :media => "all" %>
  <%= stylesheet_link_tag    "icons", :media => "all" %>
  <%= javascript_include_tag "application" %>
  <%= csrf_meta_tags %>
</head>
<body>
<%= flash[:notice] %>
<div class="wrap">
  <div class="centent">
    <div class="login-logo">
      <a class="logo-img"></a>
      <h4 class="appname">网站管理后台系统</h4>
      <div class="appinfo">web system manageer</div>
    </div>
  <div class="login">
    <div class="split"></div>
    <%= form_for(:session, url:sessions_path ) do |f| %>
      <div class="login-form">
      <a class="formitem">
        <%= f.text_field :login, :class => 'formtxt'%>
        <i class="txtico username"><i>
      </a>
      <a class="formitem">
        <%= f.password_field :passwd, :class => 'formtxt'%>
        <i class="txtico password"></i>
      </a>
      <%= submit_tag '用户登录', :class => 'formitem loginbtn'%>
      </div>
    <% end %>
  </div>
  </div>
</div>
</body>
</html>
